body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1, h2 {
    color: #333;
}

.upload-section, .result-section, .camera-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

input[type="file"] {
    margin: 10px 0;
}

#resultImage, #resultVideo, #cameraFeed {
    max-width: 100%;
    margin-top: 15px;
    border: 1px solid #ddd;
}

.hidden {
    display: none;
}

.video-container {
    margin-top: 15px;
}

#errorMessage {
    color: red;
    margin-top: 10px;
}